﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleFileManager
{
    public interface IFilePanelItem
    {
        long Size
        {
            get;
        }

        string Name
        {
            get;
        }

        DateTime LastAccessTime
        {
            get;
        }

        int Count
        {
            get;
        }

        FilePanelItemType Type
        {
            get;
        }
    
        void Move(string path);

        void Create(string name);

        void Copy(string path);

        void MakeAction(SimpleFileManager.Manager.FileManager.FilePanel filePanel);

        void Delete();

        void Rename(string newName);

        void Add(IFilePanelItem item);

        void Remove(IFilePanelItem item);
    }

    public enum FilePanelItemType
    {
        File,
        Folder,
        Drive,
        PseudoFolder
    };

}
